package cn.sh.library.mgts.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import cn.sh.library.mgts.bean.CommonSearchBean;
import cn.sh.library.mgts.bean.InstanceSearchBean;
import cn.sh.library.mgts.dto.Pager;
import cn.sh.library.mgts.framework.commonparser.ParseException;

public interface InstanceService {
	 Map<String, Object> getInstances(InstanceSearchBean searchBean);
	 Map<String, Object> getClassification();
	 Map<String, Object> getInstancesDetail(HashMap<String, String> map);
	 Map<String, Object> getWorkDetail(InstanceSearchBean searchBean);
	 
//	 List<Map<String, Object>> getPlacesInArea(InstanceSearchBean searchBean,String points);
//	 Map<String, Object> getInstancesWithPlace(String placeUri,String freetext,Pager pager);
//	List<Map<String, Object>> getPlacesInArea(String freetext, String points, String startYear, String endYear);
	List<Map<String, Object>> getPlacesInAreaCount(String freetext, String points, String startYear, String endYear);
//	Map<String, Object> getInstancesWithPlace(String placeUri, String freetext, String startYear, String endYeaer,
//			Pager pager);
	List<Map<String, Object>> getPlacesInArea(InstanceSearchBean mgtsInstanceSearchBean, String points,
			CommonSearchBean bean) throws ParseException;
	Map<String, Object> getInstancesWithPlace(String placeUri, String freetext, String startYear, String endYeaer,
			Pager pager, CommonSearchBean bean) throws ParseException;
	List<Map<String, Object>> getPlacesInArea(String freetext, String points, String startYear, String endYear,
			CommonSearchBean bean) throws ParseException;
	Map<String, Object> multsearch(CommonSearchBean bean) throws ParseException;
}
